package com.zhilianbao.leyaogo.model.response.shoppingcart;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Author: hcy
 * Description:
 * Created: 2016/12/9 11:40
 */
public class ShopActivityInfo implements Parcelable{
    /**
     * activityId : 0
     * shopId : 0
     * activityType : 0
     * activityName : string
     * activityFullName : string
     * beginDtm : 2016-11-19T05:18:14.570Z
     * endDtm : 2016-11-19T05:18:14.570Z
     * activityIcon : string
     * activityPic : string
     * activitySPic : string
     * activitySign : string
     * activityJson : string
     * isPage : 0
     * viewNumber : 0
     * orderSaleNumber : 0
     * saleGoodsNumber : 0
     * comments : string
     */

    private long activityId;
    private long shopId;
    private int activityType;
    private String activityName;
    private String activityFullName;
    private String beginDtm;
    private String endDtm;
    private String activityIcon;
    private String activityPic;
    private String activitySPic;
    private String activitySign;
    private String activityJson;
    private int isPage;
    private int viewNumber;
    private int orderSaleNumber;
    private int saleGoodsNumber;
    private String comments;

    protected ShopActivityInfo(Parcel in) {
        activityId = in.readLong();
        shopId = in.readLong();
        activityType = in.readInt();
        activityName = in.readString();
        activityFullName = in.readString();
        beginDtm = in.readString();
        endDtm = in.readString();
        activityIcon = in.readString();
        activityPic = in.readString();
        activitySPic = in.readString();
        activitySign = in.readString();
        activityJson = in.readString();
        isPage = in.readInt();
        viewNumber = in.readInt();
        orderSaleNumber = in.readInt();
        saleGoodsNumber = in.readInt();
        comments = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(activityId);
        dest.writeLong(shopId);
        dest.writeInt(activityType);
        dest.writeString(activityName);
        dest.writeString(activityFullName);
        dest.writeString(beginDtm);
        dest.writeString(endDtm);
        dest.writeString(activityIcon);
        dest.writeString(activityPic);
        dest.writeString(activitySPic);
        dest.writeString(activitySign);
        dest.writeString(activityJson);
        dest.writeInt(isPage);
        dest.writeInt(viewNumber);
        dest.writeInt(orderSaleNumber);
        dest.writeInt(saleGoodsNumber);
        dest.writeString(comments);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<ShopActivityInfo> CREATOR = new Creator<ShopActivityInfo>() {
        @Override
        public ShopActivityInfo createFromParcel(Parcel in) {
            return new ShopActivityInfo(in);
        }

        @Override
        public ShopActivityInfo[] newArray(int size) {
            return new ShopActivityInfo[size];
        }
    };

    public long getActivityId() {
        return activityId;
    }

    public void setActivityId(long activityId) {
        this.activityId = activityId;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public int getActivityType() {
        return activityType;
    }

    public void setActivityType(int activityType) {
        this.activityType = activityType;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getActivityFullName() {
        return activityFullName;
    }

    public void setActivityFullName(String activityFullName) {
        this.activityFullName = activityFullName;
    }

    public String getBeginDtm() {
        return beginDtm;
    }

    public void setBeginDtm(String beginDtm) {
        this.beginDtm = beginDtm;
    }

    public String getEndDtm() {
        return endDtm;
    }

    public void setEndDtm(String endDtm) {
        this.endDtm = endDtm;
    }

    public String getActivityIcon() {
        return activityIcon;
    }

    public void setActivityIcon(String activityIcon) {
        this.activityIcon = activityIcon;
    }

    public String getActivityPic() {
        return activityPic;
    }

    public void setActivityPic(String activityPic) {
        this.activityPic = activityPic;
    }

    public String getActivitySPic() {
        return activitySPic;
    }

    public void setActivitySPic(String activitySPic) {
        this.activitySPic = activitySPic;
    }

    public String getActivitySign() {
        return activitySign;
    }

    public void setActivitySign(String activitySign) {
        this.activitySign = activitySign;
    }

    public String getActivityJson() {
        return activityJson;
    }

    public void setActivityJson(String activityJson) {
        this.activityJson = activityJson;
    }

    public int getIsPage() {
        return isPage;
    }

    public void setIsPage(int isPage) {
        this.isPage = isPage;
    }

    public int getViewNumber() {
        return viewNumber;
    }

    public void setViewNumber(int viewNumber) {
        this.viewNumber = viewNumber;
    }

    public int getOrderSaleNumber() {
        return orderSaleNumber;
    }

    public void setOrderSaleNumber(int orderSaleNumber) {
        this.orderSaleNumber = orderSaleNumber;
    }

    public int getSaleGoodsNumber() {
        return saleGoodsNumber;
    }

    public void setSaleGoodsNumber(int saleGoodsNumber) {
        this.saleGoodsNumber = saleGoodsNumber;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }
}
